#ifndef LABEL_H
#define LABEL_H

#include <QWidget>
#include<QLabel>

class Label : public QLabel
{
    Q_OBJECT
public:
    Label(QWidget* parent);

    //鼠标 进入事件
    void enterEvent(QEvent* event);

    //鼠标 移出事件
    void leaveEvent(QEvent* event);

    void mousePressEvent(QMouseEvent* event);
};

#endif // LABEL_H
